import request from '../utils/request'

// 登录
export const login = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
//获取验证码信息
export const getVerifyCode = () => {
  return request.get('/captcha?'+Math.random(),{
     responseType: 'blob' //设置相应类型bold
  })
}


